
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}">
    <meta name="description" content="{$tkd.description|parseTpl}">
    <link rel="stylesheet" type="text/css" href="__TMPL__/css/ptm.min.css" />
    <link rel="stylesheet" type="text/css" href="__TMPL__/css/skin.min.css" />
    <link rel="stylesheet" type="text/css" href="__TMPL__/css/font-awesome.min.css" />
</head>
<body>
<header class="ptm-bar ptm-bar-nav  ptm-fix">
    <a class="ptm-pull-left" href="{link=novelsearch.index.index}">
        <span class="ptm-iconfont fa fa-home" style="font-size:22px;"></span>
    </a>
    <div class="ptm-title">{$novel.name}</div>
    <a class="ptm-pull-right" href="{link=user.index.index}">
        <span class="ptm-iconfont  fa fa-user"></span>
    </a>
</header>
<section class="ptm-content pt-infopage" style="margin-top:60px;background: #fff">
    <div class="baseinfo">
        <img src="{$novel.cover}" alt="{$novel.name}">
        <div class="pt-novel">
            <h1 class="pt-name"><a href="{$url.info}">{$novel.name}</a></h1>
            <div class="pt-info">作者:<a href="{$author.url}">{$author.name}</a></div>
            <div class="pt-info">分类:<a href="{$category.url}">{$category.name}</a></div>
            <div class="pt-info">来源:{$source.sitehost}</div>
            <div class="pt-info">更新:{$last.time|cntime}</div>
        </div>
    </div>
    {if $marked}
    <div class="twobutton ptm-clearfix">
        <div class="ptm-col-xs-6">
            <a class="ptm-btn ptm-btn-default ptm-btn-block" href="{link=user.mark.del novelid=$novel.id}">取消收藏</a>
        </div>
        <div class="ptm-col-xs-6">
            <a class="ptm-btn ptm-btn-primary ptm-btn-block" href="{$lasturl}">继续阅读</a>
        </div>
    </div>
    {else}
    <div class="twobutton ptm-clearfix">
        <div class="ptm-col-xs-6">
            <a class="ptm-btn ptm-btn-warning ptm-btn-block" href="{$url.addmark}">加入书架</a>
        </div>
        <div class="ptm-col-xs-6">
            <a class="ptm-btn ptm-btn-primary ptm-btn-block" href="{$url.first}">开始阅读</a>
        </div>
    </div>
    {/if}
    <div class="ptm-line-x"></div>
    <div class="intro" >
        {$novel.intro|showintro}
    </div>
</section>
<section class="pt-infopage-more">
    <div class="ptm-card" style="margin-top:15px;">
        <div class="ptm-card-header">
            {$novel.name}最近章节
        </div>
        <div class="ptm-card-content pt-dir">
            <ul class="ptm-list-view">
                {block method="chapterlist" name=list novelid=$novel.id sort=desc num=5}
                {section loop="list"}
                <li class="ptm-list-view-cell">
                    <a class="ptm-arrow-right" href="{$loop.url_read}" title="{$novel.name} {$loop.name} {$loop.time|date='Y-m-d H:i:s'}">{$loop.name}</a>
                </li>
                {/section}
            </ul>
        </div>
        <div class="ptm-card-footer" style="font-size:14px;">
            <a href="{$url.dir}">查看目录></a>
        </div>
    </div>
    <div class="ptm-card" style="margin-top:15px;">
        <div class="ptm-card-header ptm-clearfix">
            <div class="ptm-pull-left">
                热门推荐
            </div>
        </div>
        <div class="ptm-card-content" style="padding:0">
            <ul class="ptm-list-view ptm-grid-view pt-card-1">
                {block method="novellist" name="list" sort="monthvisit" num=6}
                {loop=list}
                <li class="ptm-list-view-cell ptm-img ptm-col-xs-4">
                    <div class="imgarea">
                    <a href="{$loop.url.info}" title="{$loop.novel.name}"><img class="ptm-img-object" src="{$loop.novel.cover}" alt="{$loop.novel.name}"></a>
                        </div>
                    <div class="ptm-img-body">
                        <span class="ptm-block pt-name ptm-text-cut ptm-text-left"><A href="{$loop.url.info}" title="{$loop.novel.name}">{$loop.novel.name}</A></span>
                        <span class="ptm-block pt-author ptm-text-cut ptm-text-left"><a href="{$loop.author.url}">{$loop.author.name}</a></span>
                    </div>
                </li>
                {/loop}
            </ul>
        </div>
    </div>
    <div class="ptm-card" style="margin-top:15px;">
        <div class="ptm-card-header ptm-clearfix">
            <div class="ptm-pull-left">
                {$novel.name}来源更新
            </div>
        </div>
        <div class="ptm-card-content">
            <ul class="pt-card pt-card-6">
                {block method=SiteLastChapter name=list novelid=$novel.id}
                {loop=list}
                <li>
                    <div class="pt-novel">
                        <div class="pt-num ptm-pull-right"><a href="{$loop.url_dir}" class="ptm-text-grey">{$loop.sitename}</a></div>
                        <span class="pt-name"><a href="{$loop.url_dir}">{$loop.name}</a></span>
                    </div>
                </li>
                {/loop}
            </ul>
        </div>
    </div>
</section>
{include file="../common/footer"}
</body>
</html>